package com.suyang.syt.model.dto;

import com.suyang.syt.model.Role;

@SuppressWarnings("serial")
public class RoleDTO extends Role {

	public RoleDTO() {

	}

	public RoleDTO(Role role) {
		this.setId(role.getId());
		this.setRoleType(role.getRoleType());
		this.setCreateName(role.getCreateName());
		this.setCreateTime(role.getCreateTime());
		this.setDescribes(role.getDescribes());
		this.setJianpin(role.getJianpin());
		this.setQuanpin(role.getQuanpin());
		this.setModifyName(role.getModifyName());
		this.setModifyTime(role.getModifyTime());
		this.setName(role.getName());
		this.setOrderIndex(role.getOrderIndex());
		this.setStatus(role.getStatus());
	}

}
